/*
 * window.cpp
 *
 *  Created on: 04/gen/2013
 *      Author: Administrator
 */

#include <winuser.h>
#include <windowsx.h>
#include <windows.h>

#include "window.h"

//nasconde la finesra dell applicazione
//#include <winuser.h>
//#include <windowsx.h>
//#include <windows.h>
void WinStealth(){
  HWND stealth; /*creating stealth (window is not visible)*/
  AllocConsole();
  stealth=FindWindowA("ConsoleWindowClass",NULL);
  ShowWindow(stealth,0);
}

